<?php /* @var $this Controller */ ?>
<?php $this->beginContent('//layouts/main'); ?>
<div class="span-19">
	<div id="content">
		<?php echo $content; ?>
	</div><!-- content -->
</div>
<div class="span-5 last">
	<div id="sidebar">
	<?php
		if(property_exists ( $this , "menuOpciones" )&&$this->menuOpciones!=null){
			foreach ($this->menuOpciones as $menu) {
				if($menu){
					$this->beginWidget('zii.widgets.CPortlet', array(
						'title'=>$menu['titulo'],
					));
					$this->widget('zii.widgets.CMenu', array(
						'items'=>$menu['opciones'],
						'htmlOptions'=>array('class'=>'operations'),
					));
					$this->endWidget();
				}
			}
		}
	?>
	</div><!-- sidebar -->
</div>
<?php $this->endContent(); ?>